﻿using System;
using System.Collections.Generic;

namespace AyFrame.Dto
{
    public class AreaView
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public string Ename { get; set; }
        public List<AreaView> Children { get; set; }
    }

    public class AreaCreateDto
    {
        public string Name { get; set; }
        public string Ename { get; set; }
        public string ParentId { get; set; }
    }
    public class AreaUpdateDto : AreaCreateDto
    {
        public string Id { get; set; }
    }
}
